import axios from 'axios'

axios.interceptors.request.use(config=>{
   console.log(config);
   // 给headers传递token信息
   let token=sessionStorage.getItem('token')?:
   config.headers.authorization=token
   return config
})

export default axios
